import 'package:json_annotation/json_annotation.dart';

part 'orderItemModel.g.dart';

@JsonSerializable()
class OrderItemModel {
  OrderItemModel();

  @JsonKey(name: '_id') String? id;
  String? order_id;
  String? product_title;
  String? product_id;
  num? product_price;
  String? product_img;
  num? product_count;
  String? selected_attr;
  num? add_time;
  
  factory OrderItemModel.fromJson(Map<String,dynamic> json) => _$OrderItemModelFromJson(json);
  Map<String, dynamic> toJson() => _$OrderItemModelToJson(this);
}
